import i18n from '../../i18n/i18n'
export const tableOption = {
  border: true,
  index: true,
  indexLabel: i18n.t('brand.serialNumber'),
  searchLabelWidth: '130',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  column: [
    {
      label: i18n.t('liveRoom.roomName'),
      searchLabelWidth: '130',
      prop: 'name',
      search: true
    },
    {
      label: i18n.t('liveRoom.anchorNickname'),
      prop: 'anchorName',
      search: true
    },
    {
      label: i18n.t('liveRoom.anchorWechat'),
      prop: 'anchorWechat'
    },
    {
      label: i18n.t('liveRoom.liveRoomStatus'),
      prop: 'liveStatus',
      searchLabelWidth: '130',
      type: 'select',
      slot: true,
      search: true,
      dicData: [
        {
          value: 101,
          label: i18n.t('liveRoom.live')
        }, {
          value: 102,
          label: i18n.t('groups.hasNotStarted')
        }, {
          value: 103,
          label: i18n.t('groups.over')
        }, {
          value: 104,
          label: i18n.t('liveRoom.prohibitPlay')
        }, {
          value: 105,
          label: i18n.t('liveRoom.suspend')
        }, {
          value: 106,
          label: i18n.t('liveRoom.suspend')
        }, {
          value: 107,
          label: i18n.t('liveRoom.expired')
        }
      ]
    },
    {
      label: i18n.t('liveRoom.whetherToTop'),
      prop: 'roomTop',
      searchLabelWidth: '130',
      type: 'select',
      slot: true,
      search: true,
      dicData: [
        {
          value: 1,
          label: i18n.t('liveRoom.pinned')
        }, {
          value: 0,
          label: i18n.t('liveRoom.notPinned')
        }
      ]
    },
    {
      label: i18n.t('liveRoom.LiveStartTime'),
      prop: 'startTime'
    },
    {
      label: i18n.t('liveRoom.LiveOverTime'),
      prop: 'endTime'
    },
    {
      label: i18n.t('order.applicationTime'),
      prop: 'applyTime'
    }
    // {
    //   label: '更新时间',
    //   prop: 'update_time'
    // }
  ]
}
